package com.quanyan.place.entity;

import com.quanyan.common.Plugin.Page;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbBizPlaceBusinessUserRewardExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TbBizPlaceBusinessUserRewardExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("uid is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("uid is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Integer value) {
            addCriterion("uid =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Integer value) {
            addCriterion("uid <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Integer value) {
            addCriterion("uid >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("uid >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Integer value) {
            addCriterion("uid <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Integer value) {
            addCriterion("uid <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Integer> values) {
            addCriterion("uid in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Integer> values) {
            addCriterion("uid not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Integer value1, Integer value2) {
            addCriterion("uid between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Integer value1, Integer value2) {
            addCriterion("uid not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andCityIdIsNull() {
            addCriterion("city_id is null");
            return (Criteria) this;
        }

        public Criteria andCityIdIsNotNull() {
            addCriterion("city_id is not null");
            return (Criteria) this;
        }

        public Criteria andCityIdEqualTo(Integer value) {
            addCriterion("city_id =", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotEqualTo(Integer value) {
            addCriterion("city_id <>", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdGreaterThan(Integer value) {
            addCriterion("city_id >", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("city_id >=", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdLessThan(Integer value) {
            addCriterion("city_id <", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdLessThanOrEqualTo(Integer value) {
            addCriterion("city_id <=", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdIn(List<Integer> values) {
            addCriterion("city_id in", values, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotIn(List<Integer> values) {
            addCriterion("city_id not in", values, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdBetween(Integer value1, Integer value2) {
            addCriterion("city_id between", value1, value2, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotBetween(Integer value1, Integer value2) {
            addCriterion("city_id not between", value1, value2, "cityId");
            return (Criteria) this;
        }

        public Criteria andUserRoleTypeIsNull() {
            addCriterion("user_role_type is null");
            return (Criteria) this;
        }

        public Criteria andUserRoleTypeIsNotNull() {
            addCriterion("user_role_type is not null");
            return (Criteria) this;
        }

        public Criteria andUserRoleTypeEqualTo(Byte value) {
            addCriterion("user_role_type =", value, "userRoleType");
            return (Criteria) this;
        }

        public Criteria andUserRoleTypeNotEqualTo(Byte value) {
            addCriterion("user_role_type <>", value, "userRoleType");
            return (Criteria) this;
        }

        public Criteria andUserRoleTypeGreaterThan(Byte value) {
            addCriterion("user_role_type >", value, "userRoleType");
            return (Criteria) this;
        }

        public Criteria andUserRoleTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("user_role_type >=", value, "userRoleType");
            return (Criteria) this;
        }

        public Criteria andUserRoleTypeLessThan(Byte value) {
            addCriterion("user_role_type <", value, "userRoleType");
            return (Criteria) this;
        }

        public Criteria andUserRoleTypeLessThanOrEqualTo(Byte value) {
            addCriterion("user_role_type <=", value, "userRoleType");
            return (Criteria) this;
        }

        public Criteria andUserRoleTypeIn(List<Byte> values) {
            addCriterion("user_role_type in", values, "userRoleType");
            return (Criteria) this;
        }

        public Criteria andUserRoleTypeNotIn(List<Byte> values) {
            addCriterion("user_role_type not in", values, "userRoleType");
            return (Criteria) this;
        }

        public Criteria andUserRoleTypeBetween(Byte value1, Byte value2) {
            addCriterion("user_role_type between", value1, value2, "userRoleType");
            return (Criteria) this;
        }

        public Criteria andUserRoleTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("user_role_type not between", value1, value2, "userRoleType");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNull() {
            addCriterion("user_name is null");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNotNull() {
            addCriterion("user_name is not null");
            return (Criteria) this;
        }

        public Criteria andUserNameEqualTo(String value) {
            addCriterion("user_name =", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotEqualTo(String value) {
            addCriterion("user_name <>", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThan(String value) {
            addCriterion("user_name >", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("user_name >=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThan(String value) {
            addCriterion("user_name <", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThanOrEqualTo(String value) {
            addCriterion("user_name <=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLike(String value) {
            addCriterion("user_name like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotLike(String value) {
            addCriterion("user_name not like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameIn(List<String> values) {
            addCriterion("user_name in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotIn(List<String> values) {
            addCriterion("user_name not in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameBetween(String value1, String value2) {
            addCriterion("user_name between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotBetween(String value1, String value2) {
            addCriterion("user_name not between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andLowWageIsNull() {
            addCriterion("low_wage is null");
            return (Criteria) this;
        }

        public Criteria andLowWageIsNotNull() {
            addCriterion("low_wage is not null");
            return (Criteria) this;
        }

        public Criteria andLowWageEqualTo(BigDecimal value) {
            addCriterion("low_wage =", value, "lowWage");
            return (Criteria) this;
        }

        public Criteria andLowWageNotEqualTo(BigDecimal value) {
            addCriterion("low_wage <>", value, "lowWage");
            return (Criteria) this;
        }

        public Criteria andLowWageGreaterThan(BigDecimal value) {
            addCriterion("low_wage >", value, "lowWage");
            return (Criteria) this;
        }

        public Criteria andLowWageGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("low_wage >=", value, "lowWage");
            return (Criteria) this;
        }

        public Criteria andLowWageLessThan(BigDecimal value) {
            addCriterion("low_wage <", value, "lowWage");
            return (Criteria) this;
        }

        public Criteria andLowWageLessThanOrEqualTo(BigDecimal value) {
            addCriterion("low_wage <=", value, "lowWage");
            return (Criteria) this;
        }

        public Criteria andLowWageIn(List<BigDecimal> values) {
            addCriterion("low_wage in", values, "lowWage");
            return (Criteria) this;
        }

        public Criteria andLowWageNotIn(List<BigDecimal> values) {
            addCriterion("low_wage not in", values, "lowWage");
            return (Criteria) this;
        }

        public Criteria andLowWageBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("low_wage between", value1, value2, "lowWage");
            return (Criteria) this;
        }

        public Criteria andLowWageNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("low_wage not between", value1, value2, "lowWage");
            return (Criteria) this;
        }

        public Criteria andMonthAwardIsNull() {
            addCriterion("month_award is null");
            return (Criteria) this;
        }

        public Criteria andMonthAwardIsNotNull() {
            addCriterion("month_award is not null");
            return (Criteria) this;
        }

        public Criteria andMonthAwardEqualTo(BigDecimal value) {
            addCriterion("month_award =", value, "monthAward");
            return (Criteria) this;
        }

        public Criteria andMonthAwardNotEqualTo(BigDecimal value) {
            addCriterion("month_award <>", value, "monthAward");
            return (Criteria) this;
        }

        public Criteria andMonthAwardGreaterThan(BigDecimal value) {
            addCriterion("month_award >", value, "monthAward");
            return (Criteria) this;
        }

        public Criteria andMonthAwardGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("month_award >=", value, "monthAward");
            return (Criteria) this;
        }

        public Criteria andMonthAwardLessThan(BigDecimal value) {
            addCriterion("month_award <", value, "monthAward");
            return (Criteria) this;
        }

        public Criteria andMonthAwardLessThanOrEqualTo(BigDecimal value) {
            addCriterion("month_award <=", value, "monthAward");
            return (Criteria) this;
        }

        public Criteria andMonthAwardIn(List<BigDecimal> values) {
            addCriterion("month_award in", values, "monthAward");
            return (Criteria) this;
        }

        public Criteria andMonthAwardNotIn(List<BigDecimal> values) {
            addCriterion("month_award not in", values, "monthAward");
            return (Criteria) this;
        }

        public Criteria andMonthAwardBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("month_award between", value1, value2, "monthAward");
            return (Criteria) this;
        }

        public Criteria andMonthAwardNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("month_award not between", value1, value2, "monthAward");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andYearIsNull() {
            addCriterion("year is null");
            return (Criteria) this;
        }

        public Criteria andYearIsNotNull() {
            addCriterion("year is not null");
            return (Criteria) this;
        }

        public Criteria andYearEqualTo(String value) {
            addCriterion("year =", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotEqualTo(String value) {
            addCriterion("year <>", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearGreaterThan(String value) {
            addCriterion("year >", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearGreaterThanOrEqualTo(String value) {
            addCriterion("year >=", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearLessThan(String value) {
            addCriterion("year <", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearLessThanOrEqualTo(String value) {
            addCriterion("year <=", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearLike(String value) {
            addCriterion("year like", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotLike(String value) {
            addCriterion("year not like", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearIn(List<String> values) {
            addCriterion("year in", values, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotIn(List<String> values) {
            addCriterion("year not in", values, "year");
            return (Criteria) this;
        }

        public Criteria andYearBetween(String value1, String value2) {
            addCriterion("year between", value1, value2, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotBetween(String value1, String value2) {
            addCriterion("year not between", value1, value2, "year");
            return (Criteria) this;
        }

        public Criteria andMonthIsNull() {
            addCriterion("month is null");
            return (Criteria) this;
        }

        public Criteria andMonthIsNotNull() {
            addCriterion("month is not null");
            return (Criteria) this;
        }

        public Criteria andMonthEqualTo(String value) {
            addCriterion("month =", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthNotEqualTo(String value) {
            addCriterion("month <>", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthGreaterThan(String value) {
            addCriterion("month >", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthGreaterThanOrEqualTo(String value) {
            addCriterion("month >=", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthLessThan(String value) {
            addCriterion("month <", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthLessThanOrEqualTo(String value) {
            addCriterion("month <=", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthLike(String value) {
            addCriterion("month like", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthNotLike(String value) {
            addCriterion("month not like", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthIn(List<String> values) {
            addCriterion("month in", values, "month");
            return (Criteria) this;
        }

        public Criteria andMonthNotIn(List<String> values) {
            addCriterion("month not in", values, "month");
            return (Criteria) this;
        }

        public Criteria andMonthBetween(String value1, String value2) {
            addCriterion("month between", value1, value2, "month");
            return (Criteria) this;
        }

        public Criteria andMonthNotBetween(String value1, String value2) {
            addCriterion("month not between", value1, value2, "month");
            return (Criteria) this;
        }

        public Criteria andPrizeOneIsNull() {
            addCriterion("prize_one is null");
            return (Criteria) this;
        }

        public Criteria andPrizeOneIsNotNull() {
            addCriterion("prize_one is not null");
            return (Criteria) this;
        }

        public Criteria andPrizeOneEqualTo(BigDecimal value) {
            addCriterion("prize_one =", value, "prizeOne");
            return (Criteria) this;
        }

        public Criteria andPrizeOneNotEqualTo(BigDecimal value) {
            addCriterion("prize_one <>", value, "prizeOne");
            return (Criteria) this;
        }

        public Criteria andPrizeOneGreaterThan(BigDecimal value) {
            addCriterion("prize_one >", value, "prizeOne");
            return (Criteria) this;
        }

        public Criteria andPrizeOneGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("prize_one >=", value, "prizeOne");
            return (Criteria) this;
        }

        public Criteria andPrizeOneLessThan(BigDecimal value) {
            addCriterion("prize_one <", value, "prizeOne");
            return (Criteria) this;
        }

        public Criteria andPrizeOneLessThanOrEqualTo(BigDecimal value) {
            addCriterion("prize_one <=", value, "prizeOne");
            return (Criteria) this;
        }

        public Criteria andPrizeOneIn(List<BigDecimal> values) {
            addCriterion("prize_one in", values, "prizeOne");
            return (Criteria) this;
        }

        public Criteria andPrizeOneNotIn(List<BigDecimal> values) {
            addCriterion("prize_one not in", values, "prizeOne");
            return (Criteria) this;
        }

        public Criteria andPrizeOneBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("prize_one between", value1, value2, "prizeOne");
            return (Criteria) this;
        }

        public Criteria andPrizeOneNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("prize_one not between", value1, value2, "prizeOne");
            return (Criteria) this;
        }

        public Criteria andPrizeTwoIsNull() {
            addCriterion("prize_two is null");
            return (Criteria) this;
        }

        public Criteria andPrizeTwoIsNotNull() {
            addCriterion("prize_two is not null");
            return (Criteria) this;
        }

        public Criteria andPrizeTwoEqualTo(BigDecimal value) {
            addCriterion("prize_two =", value, "prizeTwo");
            return (Criteria) this;
        }

        public Criteria andPrizeTwoNotEqualTo(BigDecimal value) {
            addCriterion("prize_two <>", value, "prizeTwo");
            return (Criteria) this;
        }

        public Criteria andPrizeTwoGreaterThan(BigDecimal value) {
            addCriterion("prize_two >", value, "prizeTwo");
            return (Criteria) this;
        }

        public Criteria andPrizeTwoGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("prize_two >=", value, "prizeTwo");
            return (Criteria) this;
        }

        public Criteria andPrizeTwoLessThan(BigDecimal value) {
            addCriterion("prize_two <", value, "prizeTwo");
            return (Criteria) this;
        }

        public Criteria andPrizeTwoLessThanOrEqualTo(BigDecimal value) {
            addCriterion("prize_two <=", value, "prizeTwo");
            return (Criteria) this;
        }

        public Criteria andPrizeTwoIn(List<BigDecimal> values) {
            addCriterion("prize_two in", values, "prizeTwo");
            return (Criteria) this;
        }

        public Criteria andPrizeTwoNotIn(List<BigDecimal> values) {
            addCriterion("prize_two not in", values, "prizeTwo");
            return (Criteria) this;
        }

        public Criteria andPrizeTwoBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("prize_two between", value1, value2, "prizeTwo");
            return (Criteria) this;
        }

        public Criteria andPrizeTwoNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("prize_two not between", value1, value2, "prizeTwo");
            return (Criteria) this;
        }

        public Criteria andPrizeThreeIsNull() {
            addCriterion("prize_three is null");
            return (Criteria) this;
        }

        public Criteria andPrizeThreeIsNotNull() {
            addCriterion("prize_three is not null");
            return (Criteria) this;
        }

        public Criteria andPrizeThreeEqualTo(BigDecimal value) {
            addCriterion("prize_three =", value, "prizeThree");
            return (Criteria) this;
        }

        public Criteria andPrizeThreeNotEqualTo(BigDecimal value) {
            addCriterion("prize_three <>", value, "prizeThree");
            return (Criteria) this;
        }

        public Criteria andPrizeThreeGreaterThan(BigDecimal value) {
            addCriterion("prize_three >", value, "prizeThree");
            return (Criteria) this;
        }

        public Criteria andPrizeThreeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("prize_three >=", value, "prizeThree");
            return (Criteria) this;
        }

        public Criteria andPrizeThreeLessThan(BigDecimal value) {
            addCriterion("prize_three <", value, "prizeThree");
            return (Criteria) this;
        }

        public Criteria andPrizeThreeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("prize_three <=", value, "prizeThree");
            return (Criteria) this;
        }

        public Criteria andPrizeThreeIn(List<BigDecimal> values) {
            addCriterion("prize_three in", values, "prizeThree");
            return (Criteria) this;
        }

        public Criteria andPrizeThreeNotIn(List<BigDecimal> values) {
            addCriterion("prize_three not in", values, "prizeThree");
            return (Criteria) this;
        }

        public Criteria andPrizeThreeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("prize_three between", value1, value2, "prizeThree");
            return (Criteria) this;
        }

        public Criteria andPrizeThreeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("prize_three not between", value1, value2, "prizeThree");
            return (Criteria) this;
        }

        public Criteria andCreateUidIsNull() {
            addCriterion("create_uid is null");
            return (Criteria) this;
        }

        public Criteria andCreateUidIsNotNull() {
            addCriterion("create_uid is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUidEqualTo(Integer value) {
            addCriterion("create_uid =", value, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidNotEqualTo(Integer value) {
            addCriterion("create_uid <>", value, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidGreaterThan(Integer value) {
            addCriterion("create_uid >", value, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("create_uid >=", value, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidLessThan(Integer value) {
            addCriterion("create_uid <", value, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidLessThanOrEqualTo(Integer value) {
            addCriterion("create_uid <=", value, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidIn(List<Integer> values) {
            addCriterion("create_uid in", values, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidNotIn(List<Integer> values) {
            addCriterion("create_uid not in", values, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidBetween(Integer value1, Integer value2) {
            addCriterion("create_uid between", value1, value2, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidNotBetween(Integer value1, Integer value2) {
            addCriterion("create_uid not between", value1, value2, "createUid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}